package com.cristina.attention.entity.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

/**
 * @author by superman
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class GroupResVo {

    private int id;

    private int index;

    private GroupInfo groupInfo;

    @Data
    @JsonInclude(JsonInclude.Include.NON_NULL)
    public static class GroupInfo {
        private String groupName;

        private Long ownerId;

        private Long groupId;

        private String groupAvatar;
    }
}
